#pragma once

#include "GameObject.h"
#include <list>


class EnemyManager : public GameObject
{
public:
	
	enum GhostAI
	{
		eGhostPink = 1,
		eGhostBlue,
		eGhostYelow,
	};


	EnemyManager(void);
	virtual ~EnemyManager(void);

	bool GhostPinkMove(Point);
	bool GhostBlueMove(Point);
	//bool GhostYellowMove(Point);

	void move(Point);

	void addGhostAI(int );

	void setPositionPacman(Point &);
	void update()
	{

	}

	void update(Point, Vector2D, Point);

	void creatGhostPink(int);
	void creatGhostBlue(int);
	void creatGhostYellow(int);
	
protected:
	std::list<GhostAI> mGhost;
	std::list<GhostAI>::iterator iter;
private:
	Point mDestination;
	Vector2D mPositionGhostPink;

	Point mDestinationGhostBlue;
	int mAnimationRight;
	int mAnimationLeft;
	int mAnimationUp;
	int mAnimationDown;
};